<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt" %>

<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>超市账单管理系统</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/public.css"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/style.css"/>
</head>
<body>
<!--头部-->
<header class="publicHeader">
    <h1>超市账单管理系统</h1>

    <div class="publicHeaderR">
        <p><span>下午好！</span><span style="color: #fff21b"> Admin</span> , 欢迎你！</p>
        <a href="../../login.jsp">退出</a>
    </div>
</header>
<!--时间-->
<section class="publicTime">
    <span id="time">
        <jsp:useBean id="now" class="java.util.Date" scope="page"></jsp:useBean>
        <f:formatNumber value="${now.year}"></f:formatNumber>

    </span>
    <a href="#">温馨提示：为了能正常浏览，请使用高版本浏览器！（IE10+）</a>
</section>
<!--主体内容-->
<section class="publicMian ">
    <div class="left">
        <%@include file="left.jsp"%>
    </div>
    <div class="right">
        <%@include file="right.jsp"%>

        <div class="providerView">

            <p><strong>订单编号：</strong><span>${bills.billcode}</span></p>
            <p><strong>商品名称：</strong><span>${bills.productname}</span></p>
            <p><strong>商品单位：</strong><span>${bills.productunit}</span></p>
            <p><strong>商品数量：</strong><span>${bills.productcount}</span></p>
            <p><strong>总金额：</strong><span>${bills.totalprice}</span></p>
            <p><strong>供应商：</strong><span>${bills.provider.proname}</span></p>
            <p><strong>是否付款：</strong><span>
                <c:if test="${bills.ispayment==1}">已付款</c:if>
                 <c:if test="${bills.ispayment==2}">未付款</c:if>

            </span></p>

            <a href="${pageContext.request.contextPath}/bill/list">返回</a>
        </div>
    </div>
</section>

<script src="${pageContext.request.contextPath}/js/time.js"></script>

</body>
</html>